using MicroMsg.Resource.@string;
using MicroMsg.UI.UserContrl;
using MicroMsg.UI.Util;
using Microsoft.Phone.Tasks;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
namespace MicroMsg.UI.Page
{
	public class ForgetPasswordView : BasePage
	{
		internal Grid LayoutRoot;
		internal panelTitle2Line panelTitle;
		internal StackPanel ContentPanel;
		internal Button btnGetPassByPhone;
		internal Button btnGetPassByQQ;
		internal Button btnGetPassByMail;
		private bool _contentLoaded;
		public ForgetPasswordView()
		{
			this.InitializeComponent();
		}
		private void btnGetPassByQQ_Click(object sender, RoutedEventArgs e)
		{
			if (BasePage.CanDoBackSysTask())
			{
				BasePage.DoBackSysTask();
				WebBrowserTask webBrowserTask = new WebBrowserTask();
				webBrowserTask.set_Uri(new Uri(strings.Login_Forget_QQUrl));
				webBrowserTask.Show();
				return;
			}
		}
		private void btnGetPassByPhone_Click(object sender, RoutedEventArgs e)
		{
			base.GoToPage("/Source/UI/LoginViews/GetPasswordByPhoneView.xaml", null, false);
		}
		private void btnGetPassByMail_Click(object sender, RoutedEventArgs e)
		{
			if (BasePage.CanDoBackSysTask())
			{
				BasePage.DoBackSysTask();
				WebBrowserTask webBrowserTask = new WebBrowserTask();
				webBrowserTask.set_Uri(new Uri(strings.Login_Forget_EmailUrl));
				webBrowserTask.Show();
				return;
			}
		}
		private void btnPreviousStep_Click(object sender, EventArgs e)
		{
		}
		private void btnNextStep_Click(object sender, EventArgs e)
		{
		}
		[DebuggerNonUserCode]
		public void InitializeComponent()
		{
			if (this._contentLoaded)
			{
				return;
			}
			this._contentLoaded = true;
			Application.LoadComponent(this, new Uri("/MicroMsg;component/Source/UI/LoginViews/ForgetPasswordView.xaml", 2));
			this.LayoutRoot = (Grid)base.FindName("LayoutRoot");
			this.panelTitle = (panelTitle2Line)base.FindName("panelTitle");
			this.ContentPanel = (StackPanel)base.FindName("ContentPanel");
			this.btnGetPassByPhone = (Button)base.FindName("btnGetPassByPhone");
			this.btnGetPassByQQ = (Button)base.FindName("btnGetPassByQQ");
			this.btnGetPassByMail = (Button)base.FindName("btnGetPassByMail");
		}
	}
}
